package com.shilin.watchsystem.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shilin.watchsystem.entity.Product;
import com.shilin.watchsystem.entity.Worder;
import com.shilin.watchsystem.form.AddOrderForm;
import com.shilin.watchsystem.form.EditOrderForm;
import com.shilin.watchsystem.vo.OrderPageVo;
import org.springframework.core.annotation.Order;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2020-08-21
 */
public interface IOrderService extends IService<Worder> {

    void insert(AddOrderForm form, HttpServletRequest request);

    void update(EditOrderForm form);


    IPage<OrderPageVo> page(Page<Worder> page);

    OrderPageVo select(Long id);

}
